package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.Date;

@FieldTypeAnnotation(tableName = "t_l_ck_activity_xiaowu_recall_draw", desc = "斗罗大陆小舞回忆录抽奖日志", autoSave = true, uploadCk = true)
public class LogXiaowuRecallDraw extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "活动ID", isIndex = true)
    private int activityId;
    @FieldTypeAnnotation(desc = "用户ID", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "老积分")
    private long oldScore;
    @FieldTypeAnnotation(desc = "获得积分")
    private int scoreGot;
    @FieldTypeAnnotation(desc = "新积分")
    private long newScore;
    @FieldTypeAnnotation(desc = "定位点id")
    private int cellId;
    @FieldTypeAnnotation(desc = "老记忆之魂")
    private int oldSoul;
    @FieldTypeAnnotation(desc = "获得的记忆之魂")
    private int soulGot;
    @FieldTypeAnnotation(desc = "新记忆之魂")
    private int newSoul;
    @FieldTypeAnnotation(desc = "完成的comb")
    private String finishLine;

    public LogXiaowuRecallDraw(int activityId, long userId, long oldScore, int scoreGot, long newScore, int cellId, int oldSoul, int soulGot, int newSoul, String finishLine) {
        this.activityId = activityId;
        this.userId = userId;
        this.oldScore = oldScore;
        this.scoreGot = scoreGot;
        this.newScore = newScore;
        this.cellId = cellId;
        this.oldSoul = oldSoul;
        this.soulGot = soulGot;
        this.newSoul = newSoul;
        this.finishLine = finishLine;
    }

    public long getUserId() {
        return userId;
    }

}
